/**
 * Copyright (C) 2019-2021 杭州优诗科技有限公司
 *
 * This file is part of UnitSpirit.
 * @author wupingfu
 * @version 1.0.0
 * 
 **/
package com.unitspirit.sample.powermock;

/**
 * @author wupf
 *
 */
public class RepeatCall {

	/**
	 * 
	 */
	public RepeatCall() {
	}
	
	int i=0;
	
	public String getStr(String str)
	{
		doCal(str);
		System.out.println(i);
		doCal(str);
		System.out.println(i);
		doCal(str);
		System.out.println(i);
		doCal(str);
		System.out.println(i);
		
		return str+i;
	}
	
	private void doCal(String str)
	{
		i++;
	}
}
